﻿using EnvDTE;
using EnvDTE80;

namespace Blader.ActionHandler
{
    public class HandlerContext
    {
        private DTE2 applicationObject;
        private AddIn addInInstance;
        private string commandName;

        public DTE2 ApplicationObject
        {
            get { return applicationObject; }
        }

        public AddIn AddInInstance
        {
            get { return addInInstance; }
        }

        public string CommandName
        {
            get { return commandName; }
        }

        public HandlerContext(DTE2 applicationObject, AddIn addInInstance, string commandName)
        {
            this.applicationObject = applicationObject;
            this.addInInstance = addInInstance;
            this.commandName = commandName;
        }
    }
}
